package com.dy.domain;

public class Lei {

    private Integer id;
    private String leiming;

    @Override
    public String toString() {
        return "Lei{" +
                "id=" + id +
                ", leiming='" + leiming + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLeiming() {
        return leiming;
    }

    public void setLeiming(String leiming) {
        this.leiming = leiming;
    }

    public Lei() {
    }

    public Lei(Integer id, String leiming) {
        this.id = id;
        this.leiming = leiming;
    }
}
